package com.tuling.netty.command;

import io.netty.channel.ChannelHandlerContext;

public interface CmdHandler<T extends Cmd> {
    boolean supports(Cmd cmd);

    void handle(ChannelHandlerContext ctx, T cmd);
}